﻿/***********************/
/* (c) Alexandru Lungu */
/*  Challenge is Life! */
/* www.challenge-me.ws */
/***********************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace Coowork.WcfServer
{
    public class ChallengeIdentity : IIdentity
    {
        string name;
        public ChallengeIdentity(string name)
        {
            this.name = name;
        }
        public string AuthenticationType
        {
            get { return "Challenge"; }
        }

        public bool IsAuthenticated
        {
            get { return true; }
        }

        public string Name
        {
            get { return name; }
        }
    }
}
